import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/styles/common.less'
// 注册全局组件
import componentPlungin from '@/components'
// 注册懒加载插件
import directivePlugin from '@/directives/index.js'

// 创建一个 vue 应用实例
createApp(App).use(store).use(router).use(componentPlungin).use(directivePlugin).mount('#app')
